package com.freshcity.manager
{
	import flash.display.Stage;
	import com.freshcity.manager.support.CursorManagerImpl;

	public class CursorManager
	{
		public static const FIX:String="fix";
		
		public static const BUY:String="buy";
		
		public static const SELL:String="sell";
		
		public static const BATCH:String="batch";
		
		public static const Skill:String="Skill";
		
		public static const AddFriend:String="buy";
		
		public static const Attack:String="Attack";
		
		public static const Talk:String="Talk";
		
		public static const Hand:String="hand";
		
		public static const Zoom:String="Zoom";
		
		public static const Move:String="move";

		public static const Catch:String="catch";
		
		public static const NO_CURSOR:String="NO_CURSOR";
		
		private static var _cursor:CursorManagerImpl = new CursorManagerImpl();
	

		public static function init(arg1:Stage):void
		{
			arg1.addChild(_cursor);
			hideCursor();
		}
		
		public static function showCursor(arg1:String=""):void
		{
			_cursor.cursorStyle = arg1;
		}
		
		public static function hideCursor():void
		{
			_cursor.cursorStyle = NO_CURSOR;
		}
		
		public static function get cursor():CursorManagerImpl
		{
			return _cursor;
		}

	}
}